package com.climber.spb_shiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    @GetMapping("login")
    public String loginPage() {
        return "login";
    }

    @GetMapping("error")
    public String errorPage() {
        return "error";
    }

    @GetMapping("index")
    public String indexPage() {
        return "index";
    }

}
